-- GENERATED SPELL FOR [Den Grunt] --


function spell0_5952(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_5952', 623, 1)
end

function Sorts_5952(pUnit, Event)
local choix_sorts_5952 = math.random(0, 0)
if choix_sorts_5952 == 0 then
pUnit:RegisterEvent('spell0_5952', 1, 1)
end
end

function mob5952_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5952', math.random(1500, 3000), 1)
end

function mob5952_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5952_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5952_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5952, 1, 'mob5952_Action')
RegisterUnitEvent(5952, 2, 'mob5952_Leave')
RegisterUnitEvent(5952, 3, 'mob5952_Kill')
RegisterUnitEvent(5952, 4, 'mob5952_Die')
